import { request } from '@/plugins/request';
import type { paginationTypes } from '@/types/global';
import type { communityTypes } from '@/types/dynamic'

// 获取帖子
export function getDynamicList(data:paginationTypes):Promise<communityTypes> {
    return request({
        url: '/posts/posts/',
        method: 'GET',
        data
    })
}